package com.cdl.utils.bean;

import java.util.HashMap;
import java.util.List;
import java.util.Map;

public class ColumnInfo {

	private String columnName ;       //列名
	private String columnType ;       //数据类型
	private Integer columnScale ;      //数据精度
	private Integer columnLength ;     //数据长度
	private String columnComments ;   //字段备注
	
	private String fieldName ;        //列名对应的属性名
	private String supperfiledName ;  //首字母大写的列名
	private String fieldType ;        //属性类型
	
	private String jdbcType ;         //jdbc类型，Mybatis update �?
	
	private DataType dataType ;        
	private List<HashMap<String,String>> options ;  //枚举数据 
	
	public String getColumnName() {
		return columnName;
	}
	public void setColumnName(String columnName) {
		this.columnName = columnName;
	}
	public String getColumnType() {
		return columnType;
	}
	public void setColumnType(String columnType) {
		this.columnType = columnType;
	}

	public Integer getColumnScale() {
		return columnScale;
	}
	public void setColumnScale(Integer columnScale) {
		this.columnScale = columnScale;
	}
	public Integer getColumnLength() {
		return columnLength;
	}
	public void setColumnLength(Integer columnLength) {
		this.columnLength = columnLength;
	}
	public String getColumnComments() {
		return columnComments;
	}
	public void setColumnComments(String columnComments) {
		this.columnComments = columnComments;
	}
	public String getFieldName() {
		return fieldName;
	}
	public void setFieldName(String fieldName) {
		this.fieldName = fieldName;
	}
	public String getFieldType() {
		return fieldType;
	}
	public void setFieldType(String fieldType) {
		this.fieldType = fieldType;
	}
	public String getJdbcType() {
		return jdbcType;
	}
	public void setJdbcType(String jdbcType) {
		this.jdbcType = jdbcType;
	}
	
	public String getSupperfiledName() {
		return supperfiledName;
	}
	public void setSupperfiledName(String supperfiledName) {
		this.supperfiledName = supperfiledName;
	}
	
	public DataType getDataType() {
		return dataType;
	}
	public void setDataType(DataType dataType) {
		this.dataType = dataType;
	}

	public List<HashMap<String, String>> getOptions() {
		return options;
	}
	public void setOptions(List<HashMap<String, String>> options) {
		this.options = options;
	}
	
	@Override
	public String toString() {
		return "ColumnInfo [columnName=" + columnName + ", columnType="
				+ columnType + ", columnScale=" + columnScale
				+ ", columnLength=" + columnLength + ", columnComments="
				+ columnComments + ", fieldName=" + fieldName
				+ ", supperfiledName=" + supperfiledName + ", fieldType="
				+ fieldType + ", jdbcType=" + jdbcType + ", dataType="
				+ dataType + ", options=" + options + "]";
	}
	
	

	
	
	
	
	
	
	
}
